package com.ssy.lingxi.order.api.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订单服务查询当前物料价格
 * @author lxc
 * @version 2.0.0
 * @date 2022/3/28
 */
public class OrderPriceQueryRequest {

    /**
     * 物料id
     */
    @NotNull(message = "物料id必填")
    private Long goodsId;

    /**
     * 供应会员id
     */
    @NotNull(message = "供应会员id必填")
    private Long memberId;

    /**
     * 供应会员角色id
     */
    @NotNull(message = "供应会员角色id必填")
    private Long memberRoleId;

    /**
     * 货号
     */
    @NotBlank(message = "物料编码必填")
    private String code;

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }
}
